<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        function num(a, b) {
            var min = a > b ? b : a
            var max = a > b ? a : b
            for (var i = min; i <= max; i++) {
                for (var j = a; j <= b; j++) {
                    // var res = String(i) + String(j)
                    var res = ' ' + i + j
                    if (res % 2 !== 0 && i !== j) {
                        console.log(res)
                    }
                }
            }
        }
        num(0, 3)
    </script>
</body>

</html>